import request from '../utils/request';

export const create = query => {
    return request({
        url: 'kanban',
        method: 'post',
        data: query
    });
};
export const update = query => {
    return request({
        url: 'kanban',
        method: 'put',
        data: query
    });
};

export const remove = query => {
    return request({
        url: 'Kanban/Delete',
        method: 'post',
        params: query
    });
};
export const getall = query => {
    return request({
        url: 'kanban',
        method: 'get',
        params: query
    });
};
export const share = query => {
    return request({
        url: 'kanban/share',
        method: 'post',
        data: query
    });
};